import { loadEnv } from 'vite'
const env = loadEnv('development', process.cwd())
const localIP = env.VITE_LOCAL_IP
export default  {
    // 作为qiankun主应用启动的配置  localhost代理不生效 , ip代理才会生效
    '/pc-react/static': {
        target: `http://${localIP}:3000`,
        changeOrigin: true,
      },
      '/pc-vue/src':{
          target: `http://${localIP}:6267`,
          changeOrigin: true,
      },
      '/pc-vue//':{
          target: `http://${localIP}:6267`,
          changeOrigin: true,
      }
}